home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
sfsubbd.zip
/
README.1ST
next >
Wrap
Text File
|
1990-08-26
|
4KB
|
94 lines
SFSUBBD.EXE
-----------
This is just a quick little utility to help Sysops set up another copy
of Spitfire as a Sub-Board running in a door.
SFSUBBD will examine your Spitfire SFDOORS.DAT file and determine the
proper command line to be used in executing the Sub-Board copy of
Spitfire.
You do not need to use any DTE Unlock procedures with this program.
SFSUBBD will properly report the callers connect speed to Spitfire,
which will determine the proper comm port handling based on this
information and your sub-board's ALT-M modem setup.
You are responsible for preparing the startup batch file for your
sub-board. SFSUBBD writes ONLY the Spitfire command line to it's
batch file (SFSUBCMD.BAT) which you can CALL from YOUR sub-door's
version of SF.BAT.
SFSUBBD requires the Main Board node directory on the command line.
In addition to the Main board node directory, one possible command line
switch: /D If the /D switch is present, SFSUBBD will report and use the
DTE link rate. If this switch is NOT present, SFSUBBD will report the
Caller's Connect Rate.
SFSUBBD also set a DOS ERRORLEVEL on exit, in order to make it
useful for other purposes as well. Since a DOS ERRORLEVL must be in the
range of 0-255, the following chart should be used:
Baud Rate ERRORLEVEL
--------- ----------
LOCAL 0
300 3
1200 12
2400 24
9600 96
19200 192
38400 200
ERROR 255
Your Sub-board Door section of SF.BAT should look like this:
--------------------------------------------------------------------------
REM START OF SUBBOARD DOOR BATCH COMMANDS
:DOOR_A
CD \SUBBD <- change to the Sub-board node
directory
SET PPATH=%PATH% <- store the current Main Board path
SET PATH=C:\SUBBD;C:\UTI2;%PATH% <- add any special paths needed by the
sub-board
CALL SFSUB.BAT <- call the version of SF.BAT that runs
the sub-board
SET PATH=%PPATH% <- restore the main board path
GOTO LOOP
REM END OF SUBBOARD DOOR BATCH COMMANDS
----------------------------------------------------------------------------
And, the top of the SF.BAT file for the SUB-BOARD should read:
(it is recommended to give it another name, like SFSUB.BAT as used in
the above example)
:LOOP
CD \SUBBD <- force back to the proper directory
SFSUBBD C:\SF <- point to the main board directory
for this node and ask for Caller's
connect rate
CALL SFSUBCMD <- call the batch file with the
Spitfire command line. This
REPLACES the line that normally
runs SPITFIRE.EXE
IF ERRORLEVEL ...... and the sf.bat goes on
----------------------------------------------------------------------------
Try it! Setting up a sub-board has never been easier!!
Your sub-board can run it's own doors, have it's own message bases, etc.
SFSUBBD.EXE is FreeWare from the people who brought you SFUTI, and may
be distributed freely. This one's a freebie!
Smart Office Solutions
84 South Division Street
New Rochelle, NY 10805
RIME/Intelec NODE ID: SOLUTION